package kr.saeildamil.androidstudy.ch16;

import kr.saeildamil.androidstudy.R;
import kr.saeildamil.androidstudy.ch14.SoundEdit;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch16Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch16_main);
	}
	
	public void mOnClick(View v){
		Intent intent = new Intent();
		switch(v.getId()){
		case R.id.ch16_main_btn1:
			intent.setClass(this, AlertDialogTest.class);
			break;
		case R.id.ch16_main_btn2:
			intent.setClass(this, OrderDialog.class);
			break;
		case R.id.ch16_main_btn3:
			intent.setClass(this, Popup.class);
			break;
		
		}
		startActivity(intent);
	}
}
